/// id : 1
/// name : ""
/// pid : 0
/// level : 0

class MagicPromptCategoryModel {
  MagicPromptCategoryModel({
      this.id, 
      this.name, 
      this.pid, 
      this.level,});

  MagicPromptCategoryModel.fromJson(dynamic json) {
    id = json['id'];
    name = json['name'];
    pid = json['pid'];
    level = json['level'];
  }
  int? id;
  String? name;
  int? pid;
  int? level;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = id;
    map['name'] = name;
    map['pid'] = pid;
    map['level'] = level;
    return map;
  }

}